package model

import (
	"time"
)

type SysXhr struct {
	Id uint `gorm:"primary_key;AUTO_INCREMENT;comment:ID" json:"id"`
	//Internal  uint      `gorm:"autoIncrement;not null" json:"internal"`
	FullPath  string    `gorm:"type:VARCHAR(50)" json:"fullPath"`
	Describe  string    `gorm:"type:VARCHAR(100)" json:"describe"`
	Method    string    `gorm:"type:VARCHAR(20)" json:"method"`
	Category  string    `gorm:"type:varchar(50);comment:'所属类别'" json:"category"`
	Status    int       `gorm:"type:tinyint;comment:'状态  1:停用   2:启用';default:2" json:"status"` //状态  1:停用   2:启用
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
}
